package com.example.springboot_manage.model;


import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import java.util.Date;

@Data
@DynamicInsert
@DynamicUpdate
public class Account {
    private Integer id;
    private Integer adminId;
    private String username;
    private String password;
    private Integer root;
    private Integer categoryType;
    private String email;
    private String phone;
    private String sex;
    private String nickname;
    private String remarks;
    private String headPortrait;
    private Date createTime;
    private Date updateTime;
}
